package cn.bdqn.easyexcel_web.pojo;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;

public class User implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer id;
	@ExcelProperty(value="姓名",index=1)
	private String name;
	@ExcelProperty(value="年龄",index=2)
	private Integer age;
	private Integer sex;
	@ExcelProperty(value="性别",index=3)
	private String sexName;
	public User() {
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
	public String getSexName() {
		return sexName;
	}
	public void setSexName(String sexName) {
		this.sexName = sexName;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + ", sex=" + sex + "]";
	}
	
	
}
